(set: $matches to(datamap: "name", "matches", "amount", 4, "description", "Matches might come in handy", "pickupText", "You pick up the matches, and sticks them in your pocket. By the sound of it, there is still a few mathces left", "isCarried", false,))
(set: $knife to(datamap: "name", "knife", "description", "A knife might come in handy", "pickupText", "You pick up the knife, clean it of on your pants og puts it in your back pocket", "isCarried", false,))
(set: $selectedItem to "")
(set: $hoursAsleep to 8)Deep in your sleep you can feel your body aching. You are hot, but cold. Bathing in sweat, but frosen to the core. You feel a need to wake up, but your eyes feel so heavy.
[[Sleep]]
[[Wake up]]
(print: $selectedItem's pickupText)
(if: $selectedItem's name is "matches")[[[Done ->Feel around the room]]]
(if: $selectedItem's name is "knife")[[[Done -> Knife]] ](print: $selectedItem's description)
(if: $selectedItem's name is "matches")[[[Done ->Feel around the room]]]
(if: $selectedItem's name is "knife")[[[Done -> Knife]] ](if: $hoursAsleep is < 12)[You have sleept $hoursAsleep hours. You still feel tired, but the need to wake up is getting more and more present.]
(if: $hoursAsleep is 12)[You can't sleep anymore. The feeling of having to wake up is overwhelming.]
(set: $hoursAsleep to $hoursAsleep +1)
(if: $hoursAsleep is <13)[[[Sleep]]]
[[Wake up]]You open your eyes wide open. The ground is hard and cold, and the smell of dirt and stone is filling the room. It's complete darkness.
"Where am I?" you ask yourself.
[[Feel around the room]](if: $displayIntrotext is 0) [You are on your knees, and starts fumbling around the room. Feeling the ground with your hands. (set: $displayIntrotext to 1)]
The ground is rough and cold. Your body hurts and you can't see.
(if: $matches's isCarried is false)[You find a small, square box, (link: "matches") [ (set: $selectedItem to $matches)(goto:"Item Description")]?]
(if: $matches's isCarried is false)[(link: "Take matches")[(set: $selectedItem to $matches)(Set: $matches's isCarried to true)(goto:"Item Acquired")]]
[[Continue searching ->cave]]
It feels like you are in a cave. There are walls surounding you, and the only sound you hear is water dripping in the distant. You get the currage to get up on your feet. It takes a couple of seconds before your feet will support you. You start walking around with your hands infront of you.
(if: $matches's isCarried is true)[Maybe you should light a match?
[[Light match]]]
(if: $matches's isCarried is false)[There would be nice with some light. Maybe you missed something earlier?
[[Go back ->Feel around the room]]
]
(if: $rightWay is 0)[(if: $matches's amount is > 0)[The fire of the match lights up the room, its's a cave alright. But there is nothing here. You keep looking around, and find what seemes to be tunnels. One small one to the right, and a bigger one straight ahead. (set: $matches's amount to $matches's amount -1)]]
(if: $rightWay is 1)[There is only one option now. Straight it is.]
(if: $matches's amount is 0)[You are out of matches $numberOfMatches]
[[Go straight -> Straight]]
(if: $rightWay is 0)[[[Go to the right -> Right]]]The big tunnel seemed like the best choice, it is tall enough to stand up straight. You are walking forward. Your match burnes out and everything is pitch black again.
[[Light another match]]
[[Keep walking in the dark]]You can barely fit. This is not working. Maybe you should turn around.
(set: $rightWay to 1)
[[Turn around ->Light match]](if: $matches's amount is > 0)[The tunnel is again fulled will light, but there is nothing to see besides stone. At least the light from the match enables you to walk a little bitt faster.
In the distanse you can se the outline of something lying on the ground. You rush towards it, but in the eager your match dies and it is all pitch black again. (set: $matches's amount to $matches's amount -1)]
(if: $matches's amount is is < 1)[You are out of matches]
(if: $matches's amount is > 0)[[[Light another match ->Light another match3]]]
[[Continue in the dark]]
Feeling the walls with your hands you keep moving forward. The darkness is overwelming. You get more and more aware of the pain you feel in your body. Will you ever get out of here? How did you get here in the first place?
[[Continue in the dark]]
[[Light another match]](if: $matches's amount is > 0)[You fire up yet another match, there are not so many left. Now that you can see again, you kneel down to the unidentified object. It is hard to see, but it seems to be shining and reflecting the light from your match.
[[Inspect object -> Knife]].
(set: $matches's amount to $matches's amount -1)]
(if: $matches's amount is 0)[You are out of matches. [[Continue in the dark]]]
You deside to carry on inthe dark, to save matches in case you need them more later. Walking slowly.
"Oh shit" you stepd on something. You reach down, touching the ground trying to find what you stept on.
[[Inspect object -> Knife]](if: $knife's isCarried is false)[By further inspections, you see that it is a (link: "knife") [ (set: $selectedItem to $knife)(goto:"Item Description")]. It's dirty, and seems a bit dull. But who knows what kan be hiding in these caves. You wipe it of on your already dirty pants, and stick it in your pocket]
(if: $knife's isCarried is false)[(link: "Pick up knife") [(set: $selectedItem to $knife)(Set: $knife's isCarried to true)(goto:"Item Description")]]
You should keep moving.
[[Continue in the dark -> Continue in the dark2]]
[[Light another match -> Light another match4 ]]
(if: $knife's isCarried is true)[You feel a bit safer with a knife in your pocket.]
"What was that" you freeze. For sure you heard a sound. Didn't you?
[[Keep moving]]
[[Yell]]
(if: $matches's amount is > 0)[(if: $knife's isCarried is true)[You feel a bit safer with a knife in your pocket.]And the light from the match is also helping. But they are burning out fast. You keep moving as fast as you can. (set: $matches's amount to $matches's amount -1)
"What was that" you freeze. For sure you heard a sound. Didn't you?
[[Keep moving]]
[[Yell]]]
(if: $matches's amount is 0)[You are out of matches
[[Continue in the dark -> Continue in the dark2]]]THERE IT IS AGAIN! You forsure heard something now.
"Hello?"
[[Light another match ->Light another match5]]
[[Continue in the dark ->Continue in the dark3]] "HELLO! Can anybody hear me?"
The only answer you get is the sound of your own ekko. You are listening, but the only sound you hear besides the dripping water is the beating of your own heart.
Strange.
[[Keep moving]] (if: $matches's amount is > 0)[It is silent again. You light up a match, holing your breath. Nothing.
You keep moving forward, a little slower than usuall. Realising you are still holding your breath, you despratly breath in some air.
In the far distance you can se a contour of something. It is quite big. It seems to be moving. What should you do?
(set: $matches's amount to $matches's amount -1)
[[Blow out the match so it doesn't see you]]
[[Just keep walking -> Light another match7]]]
(if: $matches's amount is 0)[You are out of matches. [[Continue in the dark ->Blow out the match so it doesn't see you]]](if: $matches's amount is > 0)[You blow out the match.] (if: $knife's isCarried is true)[Maybe you should pick ut the knife?
[[Get the knife]]]
(if: $knife's isCarried is false)[It would be nice to have knife. [[Go back to get the knife -> Knife]]]Double-click this passage to edit it.You take the knife out of your pocket. Your hands a sweaty and your heart is pounding. Slowly you walk forward, following the wall with your other hand.
It is complete darkness. Maybe this was a bad idea.
[[Continue]]You hear the sound again. Closer this time. It sounds like someone is hurting.
"Hello?" You are almost wispering.
"ohhh" Someone is whimpering back at you.
[[Light a match -> Light another match7]]
[[Try touch it]](if: $matches's amount is > 0)[In the light of the match you see a creature tied up. He is crying in pain.(set: $matches's amount to $matches's amount -1)]
(if: $knife's isCarried is true)["What happend to you?" He seems harmles. He is big and hairy, but there is something kind in his eyes.
You kneel down and cut his ropes with your knife.
He seems gratefull. He bows. He is dulting in you, he seems to be signaling that he wants you to klimb on up on his back. So you do. He is supersoft, but his furr is wet, and he has multiple wounds.
He starts walking.
[[Hold on]]]
(if: $knife's isCarried is false)["What happend to you?" He seems harmles. He is big and hairy, but there is something kind in his eyes.
You wish you had something to cut his ropes with.
[[Go back to get the knife -> Knife]]
He starts walking.]
(if: $matches's amount is 0)[You are out of matches. [[Try touch it]]]You reach down, trying to find. Fumbling around, you find something. It is hairy. But really soft. It is still wimpering.
You can feel that his legs are tied up.
(if: $knife's isCarried is true)["What happend to you?" He seems harmles. He is big and hairy. You cut his ropes with your knife.
He seems gratefull. He is dulting in you, he seems to be signaling that he wants you to klimb on up on his back. So you do. He is supersoft, but his furr is wet, and he has multiple wounds.
He starts walking.
[[Hold on]]]
(if: $knife's isCarried is false)["What happend to you?" He seems harmles. He is big and hairy, but there is something kind in his eyes.
You wish you had something to cut his ropes with.
[[Go back to get the knife -> Knife]]]He leads you both out of the cave. He continues walking, or more like running. You look around, but nothing seems familiar. He keeps on going untill you get to a small town. He leads you straigt to a smal wooden house. All the houses looks the same. You jump of.
[[Knock on the door]]
"Hello? Who is it?" a deep voice yells from the inside. Before you get a chance to answer, he opens the door.
"Belldog!" he yells. Running just past you, and hangs himself around the creatures neck. "And who are you?" he says as he finaly gets his eyes on you. You introduce yourself.
"Come on in"
[[Walk inside the house]]
You sit down at the kitchen table. The house is small, but cosy. Wooden furniture, a red cloth on the table and fresh flowers in a vase.
He pours you coffe. You tell him the whole story.
"So you don't know how you ended up there?"
"No", you answer.
"hmm, maybe Belldog knows" he yells for Belldog, who comes in trough the door.
"He speaks?!" You ask surprised.
"Yes, I can understand him" The old man replies.
"He says he was out in the woods walking, when he caucht a man carrying you towards the caves. He tried to rescue you, but ended up getting caught insted. There have been rumours about this man, living in the caves, kidnapping people. And eating them. But nobody have been able to confirm it before now."
"Oh my god" you shout. "We must find him".
"I agree" the old man says. "But I think you have to stay here, and me and Belldog will go out find him. Ill bring the whole willage.
[[Wait]]They found the caves, and the man responsible. What they did to him is to despicable to tell.
The end.It is silent again. Holding your breath. Nothing.
You keep moving forward, a little slower than usuall. You don't see anything. Feeling the wall with your hands, trying not to fall.
[[Continue]]